package com.cc.eds.model;

import java.util.regex.Pattern;

/**
 * Eds
 *
 * @author aa
 * @version 1.0
 * @since 2025/2/8
 */
public class Eds {

    /**
     * 表名key
     */
    public static final String TABLE_NAME_IK = "A010004";

    /**
     * 数据起始行
     */
    public static final String STARTING_LINE_IK = "I010038";

    /**
     * 数据起始行默认值
     */
    public static final int STARTING_LINE_DEFAULT = 1;

    /**
     * 字符集
     */
    public static final String CHARSET_IK = "I010039";

    /**
     * EDS数据文件 内容描述
     */
    public static final String EDS_FILE_DN = "WA_COMMON_010014";

    /**
     * EDS数据文件路径
     */
    public static final String EDS_FILE_PATH_IK = "H040003";

    /**
     * EDS数据文件名
     */
    public static final String EDS_FILE_NAME_IK = "H010020";

    /**
     * EDS数据记录行数
     */
    public static final String EDS_FILE_DATA_SIZE_IK = "I010034";

    /**
     * EDS文件数据结构
     */
    public static final String EDS_FIELD_DN = "WA_COMMON_010015";


    /**
     * 列分隔符
     */
    public static final String COLUMN_SEPARATOR_IK = "I010032";

    /**
     * 列分隔符默认值
     */
    public static final String COLUMN_SEPARATOR_STRING = "\\t";
    public static final Pattern COLUMN_SEPARATOR_DEFAULT = Pattern.compile(COLUMN_SEPARATOR_STRING);

    /**
     * 行分隔符
     */
    public static final String LINE_SEPARATOR_IK = "I010033";


    /**
     * 行分隔符默认值
     */
    public static final String LINE_SEPARATOR_STRING = "\\r\\n";
    public static final Pattern LINE_SEPARATOR_DEFAULT = Pattern.compile(LINE_SEPARATOR_STRING);
    /**
     * zip包index.xml文件名
     */
    public static final String ZIP_INDEX_XML_FILENAME = "GAB_ZIP_INDEX.xml";


    /**
     * bcp格式 WA_COMMON_010013
     */
    public static final String FORMAT_BCP_DN = "WA_COMMON_010013";
}
